package com.cfushn.ddd.application.dto;

/**
 * CodeEnum
 */
public enum CodeEnum {

    SUCCESS("0"),

    ERROR("-1"),

    WARNING("1"),

    /** 会话失效 */
    SESSION_INVALID("1001");

    private final String code;

    CodeEnum(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

}
